FeatureAttribute.CanBeNull

FeatureAttribute.CanBeNull property

يحصل على قيمة تشير إلى ما إذا كان يمكن أن تكون هذه النسخة null.

public bool CanBeNull { get; set; }

Property Value

true إذا كان هذا الكائن يمكن أن يكون فارغًا؛ وإلا، false.

استثناءات

استثناءشرط
InvalidOperationExceptionالسمة مقفلة.

انظر أيضًا