BlueprintNode.WriteOptionalAttribute Method (XmlWriter, String, String, String, Boolean, Boolean)
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Internal
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Protected Friend Sub WriteOptionalAttribute ( _
xmlWriter As XmlWriter, _
attributeName As String, _
attributePrefix As String, _
attributeNamespace As String, _
attributeValue As Boolean, _
defaultValue As Boolean _
)
'Usage
Dim xmlWriter As XmlWriter
Dim attributeName As String
Dim attributePrefix As String
Dim attributeNamespace As String
Dim attributeValue As Boolean
Dim defaultValue As Boolean
Me.WriteOptionalAttribute(xmlWriter, _
attributeName, attributePrefix, _
attributeNamespace, attributeValue, _
defaultValue)
protected internal void WriteOptionalAttribute(
XmlWriter xmlWriter,
string attributeName,
string attributePrefix,
string attributeNamespace,
bool attributeValue,
bool defaultValue
)
protected public:
void WriteOptionalAttribute(
XmlWriter^ xmlWriter,
String^ attributeName,
String^ attributePrefix,
String^ attributeNamespace,
bool attributeValue,
bool defaultValue
)
protected internal function WriteOptionalAttribute(
xmlWriter : XmlWriter,
attributeName : String,
attributePrefix : String,
attributeNamespace : String,
attributeValue : boolean,
defaultValue : boolean
)
Parameters
- xmlWriter
Type: System.Xml.XmlWriter
- attributeName
Type: System.String
- attributePrefix
Type: System.String
- attributeNamespace
Type: System.String
- attributeValue
Type: System.Boolean
- defaultValue
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
WriteOptionalAttribute Overload
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Internal Namespace