Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioAssetsMasterContentFluent

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Modifiers
static

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 required
The instance.
value string required
The value.

Returns

MasterContent The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterContent { Id = value };    masterContent.Id(value);
MasterElement 2 overloads
public static MasterContent MasterElement(MasterContent masterContent, XElement value) #

Sets MasterContent.MasterElement: The corresponding Master element from masters.xml.

Parameters

masterContent OfficeIMO.Visio.VisioAssets.MasterContent required
The instance.
value System.Xml.Linq.XElement required
The value.

Returns

MasterContent The same instance.

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 required
The instance.
configure System.Action<System.Xml.Linq.XElement> required
Configures the value.

Returns

MasterContent The same instance.
MasterXml 2 overloads
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 required
The instance.
value System.Xml.Linq.XDocument required
The value.

Returns

MasterContent The same instance.

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 required
The instance.
configure System.Action<System.Xml.Linq.XDocument> required
Configures the value.

Returns

MasterContent The same instance.
public static MasterContent NameU(MasterContent masterContent, string value) #

Sets MasterContent.NameU: Universal (language-independent) master name.

Parameters

masterContent OfficeIMO.Visio.VisioAssets.MasterContent required
The instance.
value string required
The value.

Returns

MasterContent The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterContent { NameU = value };    masterContent.NameU(value);
Relationship 2 overloads
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 required
The instance.
item OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required
The item.

Returns

MasterContent The same instance.
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 required
The instance.
configure System.Action<OfficeIMO.Visio.VisioAssets.MasterRelationshipContent> required
Configures the new item before it is added.

Returns

MasterContent The same instance.
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 required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioAssets.MasterRelationshipContent> required
The items, in order.

Returns

MasterContent The same instance.