Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Overloads Shared Sub SetPropertyIfNotEmpty( _ ByVal content As ISerializationInfo, _ ByVal name As String, _ ByVal field As K2Field _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim content As ISerializationInfo Dim name As String Dim field As K2Field SerializationInfoExtensions.SetPropertyIfNotEmpty(content, name, field) |
C# | |
---|---|
[Extension()] public static void SetPropertyIfNotEmpty( ISerializationInfo content, string name, K2Field field ) |
C++/CLI | |
---|---|
[Extension()] public: static void SetPropertyIfNotEmpty( ISerializationInfo^ content, String^ name, K2Field^ field ) |
Parameters
- content
- The content.
- name
- The name.
- field
- The field.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2