Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Overloads Shared Sub SetPropertyIfNotEmpty( _ ByVal content As ISerializationInfo, _ ByVal name As String, _ ByVal field As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim content As ISerializationInfo Dim name As String Dim field As String SerializationInfoExtensions.SetPropertyIfNotEmpty(content, name, field) |
C# | |
---|---|
[Extension()] public static void SetPropertyIfNotEmpty( ISerializationInfo content, string name, string field ) |
C++/CLI | |
---|---|
[Extension()] public: static void SetPropertyIfNotEmpty( ISerializationInfo^ content, String^ name, String^ 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