Class StringParameterInit
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
کلاس پایه برای تمام مقداردهندههای پارامتر رشتهای.
public abstract class StringParameterInit : ParameterInit, IPrintTicketItem, IPrintTicketElementChild
وراثت
object ← PrintTicketElement ← ParameterInit ← StringParameterInit
مشتق شده
DocumentBannerSheetSource, DocumentCoverBackSource, DocumentCoverFrontSource, DocumentImpositionColor, DocumentPageRanges, JobComment, JobErrorSheetSource, JobPrimaryBannerSheetSource, JobPrimaryCoverBackSource, JobPrimaryCoverFrontSource, PageBlendColorSpaceICCProfileURI, PageDestinationColorProfileEmbedded, PageDestinationColorProfileURI, PageDeviceColorSpaceProfileURI, PageSourceColorProfileEmbedded, PageSourceColorProfileURI, PageWatermarkTextColor, PageWatermarkTextText
پیادهسازیها
IPrintTicketItem, IPrintTicketElementChild
اعضای وراثت یافته
PrintTicketElement.Name, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
سازندهها
StringParameterInit(string, string)
یک نمونه جدید ایجاد میکند.
public StringParameterInit(string name, string value)
پارامترها
name
string
نام پارامتر.
value
string
مقدار پارامتر.
ویژگیها
MaxLength
برای مقادیر رشتهای، بلندترین رشته مجاز را تعریف میکند.
public virtual int MaxLength { get; }
مقدار ویژگی
MinLength
برای مقادیر رشتهای، کوتاهترین رشته مجاز را تعریف میکند.
public virtual int MinLength { get; }