VisioAssetsMasterContentFluent
OfficeIMO.Visio
The fluent methods of MasterContent, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- VisioAssetsMasterContentFluent
Methods
public static MasterContent Id(MasterContent masterContent, string value) #Sets MasterContent.Id: Master identifier.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterContent { Id = value }; masterContent.Id(value);public static MasterContent MasterElement(MasterContent masterContent, XElement value) #Sets MasterContent.MasterElement: The corresponding Master element from masters.xml.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- value System.Xml.Linq.XElement
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterContent { MasterElement = value }; masterContent.MasterElement(value);public static MasterContent MasterElement(MasterContent masterContent, Action<XElement> configure) #Configures MasterContent.MasterElement in place: The corresponding Master element from masters.xml.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- configure System.Action<System.Xml.Linq.XElement>
- Configures the value.
public static MasterContent MasterXml(MasterContent masterContent, XDocument value) #Sets MasterContent.MasterXml: The full XML of the master part (masterNNNN.xml).
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- value System.Xml.Linq.XDocument
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterContent { MasterXml = value }; masterContent.MasterXml(value);public static MasterContent MasterXml(MasterContent masterContent, Action<XDocument> configure) #Configures MasterContent.MasterXml in place (creating it when not set): The full XML of the master part (masterNNNN.xml).
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- configure System.Action<System.Xml.Linq.XDocument>
- Configures the value.
public static MasterContent NameU(MasterContent masterContent, string value) #Sets MasterContent.NameU: Universal (language-independent) master name.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterContent { NameU = value }; masterContent.NameU(value);public static MasterContent Relationship(MasterContent masterContent, MasterRelationshipContent item) #Adds an item to MasterContent.Relationships: Relationships owned by the master part, including copied media payloads.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- item OfficeIMO.Visio.VisioAssets.MasterRelationshipContent
- The item.
public static MasterContent Relationship(MasterContent masterContent, Action<MasterRelationshipContent> configure) #Creates an item, configures it and adds it to MasterContent.Relationships: Relationships owned by the master part, including copied media payloads.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- configure System.Action<OfficeIMO.Visio.VisioAssets.MasterRelationshipContent>
- Configures the new item before it is added.
public static MasterContent Relationships(MasterContent masterContent, IEnumerable<MasterRelationshipContent> items) #Adds items to MasterContent.Relationships: Relationships owned by the master part, including copied media payloads.
Parameters
- masterContent OfficeIMO.Visio.VisioAssets.MasterContent
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioAssets.MasterRelationshipContent>
- The items, in order.